//
//  ViewController.h
//  MultiTouch
//
//  Created by iD Student on 7/9/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Particle.h"

@interface ViewController : UIViewController<UIPickerViewDataSource,UIPickerViewDelegate>
{
    UIImage *image;
    UIImage *image2;
    NSTimer *timer;
    UITouch *touch;
    NSMutableArray *particles;
    CGPoint point, previousPoint;
    BOOL isTouching;
    IBOutlet UIButton *startAnimation;
    IBOutlet UIImageView *imageRocket;
    IBOutlet UIPickerView *pickerBackground;
    NSArray *arrayOfColors;
}

- (void) update;
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;

- (BOOL) checkIfTouchMoved;

- (void) setBackgroundWithColor:(UIColor *)color;

@end
